glob

suspend fun glob(vararg patterns: String, followSymbolicLinks: Boolean = true, implicitDescendants: Boolean = true, omitBrokenSymbolicLinks: Boolean = true, matchDirectories: Boolean = true): List<Path>
suspend fun glob(patterns: List<String>, followSymbolicLinks: Boolean = true, implicitDescendants: Boolean = true, omitBrokenSymbolicLinks: Boolean = true, matchDirectories: Boolean = true): List<Path>

Get all files matching patterns.

For very large globs, globFlow is recommended.

*, ?, [...], and ** are supported in patterns. ~ will be expanded. Patterns that begin with # are ignored. Patterns that begin with ! exclude matching files. Characters can be escaped by wrapping them in [], or by using \ on non-Windows systems.

See @actions/glob's docs

Parameters

patterns

patterns to check

followSymbolicLinks

whether to follow symbolic links when collecting files

implicitDescendants

whether to implicitly include all descendants of matching files

omitBrokenSymbolicLinks

ignore broken symbolic links

matchDirectories

whether to include directories in the result